﻿using UnityEngine.Playables;
using FPLibrary;

namespace Pvp.Timeline
{
    /// <summary>
    /// 攻击盒
    /// </summary>
    public class RoleAttackBoxBehaviour : BaseRolePlayableBehaviour
    {
        public Fix64 damage;
        public FPLibrary.FPBB box;
        public string underAttackSkillName;

        // private RolexxxEntity.RoleAttackData.BoxAttackInfo atttackInfo;
        //
        // public override void OnBehaviourPlay(Playable playable, FrameData info)
        // {
        //     atttackInfo = new RolexxxEntity.RoleAttackData.BoxAttackInfo()
        //     {
        //         attackBox = box,
        //         attackDamage = damage,
        //         underSkillName = underAttackSkillName,
        //     };
        //     Rolexxx.Attack.boxAttackInfoList.Add(atttackInfo);
        // }
        //
        // public override void OnBehaviourPause(Playable playable, FrameData info)
        // {
        //     Rolexxx.Attack.boxAttackInfoList.Remove(atttackInfo);
        // }

        
    }
}


